<?php
/**
 * POSCMS框架文件
 * 二次开发时请勿修改本文件
 * 四川迅睿云软件开发有限公司 www.xunruicms.com
 */
	
class Home extends M_Controller {

    /**
     * 首页
     */
    public function index() {

		// 登录验证
		!$this->uid && $this->_goto_member_login();

		\Poscms\Service::L('dip');
		$this->template->assign(array(
			'indexu' => 1,
			'invite' => dr_get_invite($this->uid, 'username'),
			'invite_url' => dr_member_url('register/index', array('uid' => $this->uid, 'invite' => $this->member['username'])),

		));
		$this->template->display(IS_AJAX ? 'main.html' : 'index.html');
    }
	



}